package com.work.work3;

public class Test {
    /**
     * 创建一个测试类
     */
    public static void main(String[] args) {
        PCI p1 = new AudioCard();
        p1.send();
        System.out.println("====================");
        PCI p2 = new NetCard();
        p2.send();
        System.out.println("====================");
        PCI p3 = new VideoCard();
        p3.send();
        System.out.println("====================");
    }
}
